/**
 * 
 */
package br.srv.full.virtual.entities.i18n;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * @author Delfino
 *
 */
@Entity
@IdClass(PkFriendlyText.class)
@Table(name="friendlytext")
public class FriendlyText implements Serializable {

	@Id
	@Column(length=5)
	private String locale;
	
	@Id
	private String text;
	
	/**
	 * @return the locale
	 */
	public String getLocale() {
		return locale;
	}
	/**
	 * @param p_locale the locale to set
	 */
	public void setLocale(String p_locale) {
		locale = p_locale;
	}
	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}
	/**
	 * @param p_texto the text to set
	 */
	public void setText(String p_texto) {
		text = p_texto;
	}
	
}
